var LanguageSelector,truste=window.truste||{};truste.bn||(truste.bn={}),truste.eu||(truste.eu={}),truste.util||(truste.util={}),Object.hasOwn||(Object.hasOwn=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}),truste.util.error=function(e,t,n){n=n||{};var s,i,o=t&&t.toString()||"",a=n.caller||"";if(t&&t.stack&&(o+="\n"+t.stack.match(/(@|at)[^\n\r\t]*/)[0]+"\n"+t.stack.match(/(@|at)[^\n\r\t]*$/)[0]),truste.util.trace(e,o,n),truste.util.debug||!t&&!e)return;i={apigwlambdaUrl:"https://api-js-log.trustarc.com/error",enableJsLog:!1},i.enableJsLog&&(delete n.caller,delete n.mod,delete n.domain,delete n.authority,n.msg=e,s=new XMLHttpRequest,s.open("POST",i.apigwlambdaUrl,!0),s.setRequestHeader("Content-type","application/json"),s.send(truste.util.getJSON({info:truste.util.getJSON(n)||"",error:o,caller:a})))},truste.util.trace=function(){return!!(self.console&&console.log&&(this.debug||this.debug!==!1&&(self.location.hostname.indexOf(".")<0||self.location.hostname.indexOf(".truste-svc.net")>0)))&&(console.log.apply&&console.log.apply(console,arguments),!0)},truste.util.getJSON=function(e){if(self.JSON&&!(self.JSON.org||self.JSON.license||self.JSON.copyright))return self.JSON.stringify(e);if(e instanceof Array){if(t="[",e.length){t+=truste.util.getJSON(e[0]);for(n=1;n=e}return!1}function shouldResolveConsent(){var e,n,t=truste.eu.bindMap;return!!(t.feat.consentResolution&&t.behaviorManager=="eu"&&(e=truste.util.readCookie(truste.eu.COOKIE_GDPR_PREF_NAME,!0),e&&(e=e.split(":"),n=new RegExp(t.behavior+"."+t.behaviorManager),!n.test(e[2])&&/(us|none)/i.test(e[2]))))}(function e(){var n,s,o,i,r,t=truste.eu.bindMap={version:"v1.7-1740",domain:"unir.net",width:parseInt("660"),height:parseInt("440"),baseName:"te-notice-clr1-48ba811a-6291-4ecf-9339-e8f5cf47fa71",showOverlay:"{ShowLink}",hideOverlay:"{HideLink}",anchName:"te-notice-clr1-48ba811a-6291-4ecf-9339-e8f5cf47fa71-anch",intDivName:"te-notice-clr1-48ba811a-6291-4ecf-9339-e8f5cf47fa71-itl",iconSpanId:"te-notice-clr1-48ba811a-6291-4ecf-9339-e8f5cf47fa71-icon",containerId:!1||/^_LB.*LB_$/.test("teconsent")?"teconsent":"teconsent",messageBaseUrl:"http://consent.trustarc.com/noticemsg?",originBaseUrl:"https://consent.trustarc.com/",daxSignature:"",privacyUrl:"",prefmgrUrl:"https://consent.trustarc.com?type=unir_gdpr_v3&layout=gdpr",text:"false",icon:"Preferencias sobre cookies",iframeTitle:"TrustArc Cookie Consent Manager",closeBtnAlt:"close button",teconsentChildAriaLabel:"Cookie Preferences, opens a dedicated popup modal window",locale:"es",language:"es",country:"es",state:"",categoryCount:parseInt("5",10)||3,defaultCategory:"",noticeJsURL:(parseInt("0")?"https://consent.trustarc.com/":"https://consent.trustarc.com/")+"asset/notice.js/v/v1.7-1740",assetServerURL:(parseInt("0")?"https://consent.trustarc.com/":"https://consent.trustarc.com/")+"asset/",consensuUrl:"https://consent.trustarc.com/",cdnURL:"https://consent.trustarc.com/".replace(/^(http:)?\/\//,"https://"),iconBaseUrl:"https://consent.trustarc.com/",behavior:"implied",behaviorManager:"eu",consentModel:"none",provisionedFeatures:"",cookiePreferenceIcon:"es-cookiepref.png",cookieExpiry:parseInt("395",10)||395,closeButtonUrl:"//consent.trustarc.com/get?name=noticeclosebtn.png",apiDefaults:'{"reportlevel":16777215, "newReporting": true}',cmTimeout:parseInt("6000",10),popTime:new Date("2023-12-20 22:10:00 +0000".replace(" +0000","Z").replace(" ","T")).getTime()||null,popupMsg:"",bannerMsgURL:"https://consent.trustarc.com/bannermsg?",IRMIntegrationURL:"",irmWidth:parseInt(""),irmHeight:parseInt(""),irmContainerId:!0||/^_LB.*LB_$/.test("")?"teconsent":"",irmText:"",lspa:"",ccpaText:"",containerRole:"",iconRole:"",atpIds:"",dntOptedIn:"",gpcOptedIn:"",gpcMessageTooltip:"{GPCMessageTooltip}",seedUrl:"",cmId:"",feat:{iabGdprApplies:!0,consentResolution:!0,dropBehaviorCookie:!0,crossDomain:!0,uidEnabled:!0,replaceDelimiter:!1,optoutClose:!1,enableIRM:!1,enableCM:!0,enableBanner:!0,enableCCPA:!1,enableCPRA:!1,enableIrmAutoOptOut:!1,ccpaApplies:!1,unprovisionedDropBehavior:!0,unprovisionedIab:!1,unprovisionedCCPA:!1,dnt:!1&&(navigator.doNotTrack=="1"||window.doNotTrack=="1"),dntShowUI:!1,gpc:!1&&(navigator.globalPrivacyControl||window.globalPrivacyControl),gpcOvr:!1,gpcMessageEnabled:JSON.parse("{GPCMessageEnabled}".replace(/\{GPCMessageEnabled\}/,!1)),iabBannerApplies:!1,enableTwoStepVerification:!1,enableContainerRole:!0,enableContainerLabel:!0,enableIconRole:!0,enableIconLabel:!0,enableHasPopUp:"true"=="true",enableReturnFocus:!1,enableShopify:0,enableTcfOptout:!1,enableTcfVendorLegIntOptin:"false"=="true",enableTcfVendorPurposeOptinOverride:"false"=="true",enableTransparentAlt:!0,enableACString:!1,gcm:{ads:3,analytics:1,adPersonalization:-1,adUserData:-1,functionality:-1,personalization:-1,security:-1},gpp:{enabled:"false"=="true",mspaEnabled:"false"=="true",mspaMode:parseInt("0")||0,enableStateSpecificString:"false"=="true",gppApplies:"false"=="true",gppShowCategories:"false"=="true",gppOptInAll:"".replace(/\{GPPOptInAll\}/,"0,1,2")},autoblock:!1,gtm:1,enableStoredConsent:!1,enableIab2_2:"false"=="true",acsUrl:"https://d1leee6d0c4cew.cloudfront.net/amzn-consent.js",acs:{enabled:"false"=="true",adStorage:"",userData:""},pushEventsToDataLayer:"false"=="true"},autoDisplayCloseButton:!1,hideCloseButtonEnabled:"false"=="true",localization:{modalTitle:"Sus opciones con respecto al uso de cookies en este sitio"},currentScript:self.document.currentScript};if(/layout=gdpr/.test(t.prefmgrUrl)&&(t.isGdprLayout=!0),/layout=iab/.test(t.prefmgrUrl)&&(t.isIabLayout=!0),/layout=gpp/.test(t.prefmgrUrl)&&(t.isGppLayout=!0),self.location.protocol!="http:")for(n in t)Object.hasOwn(t,n)&&t[n]&&t[n].replace&&typeof t[n]=="string"&&(t[n]=t[n].replace(/^(http:)?\/\//,"https://"));truste.eu.USER_CONSENT_CENTER_SERVER="https://user-consent-center.trustarc.com",function(){var e=truste.eu.USER_CONSENT_CENTER_SERVER.match(/^{(UserConsentCenter)}$/);e&&e.length>1&&(truste.eu.USER_CONSENT_CENTER_SERVER="")}(),truste.eu.noticeLP=truste.eu.noticeLP||{},truste.eu.noticeLP.pcookie=!0,truste.util.createCookie=function(e,t,n,s,o){if(truste.util.cookie&&!o&&(t=truste.util.cookie.convert(t)),i=truste.eu.bindMap||{},c="; expires=",n?n=="0"?c="":(a=new Date(n),c+=n):(a=new Date,a.setDate(a.getDate()+i.cookieExpiry),c+=a.toGMTString()),!i.feat.cookiePath&&s&&truste.util.createCookieStorage&&truste.util.createCookieStorage(e,t,a),b=i.domain,l=self.location.hostname,h=!!l.match(/^\d{0,3}\.\d{0,3}\.\d{0,3}\.\d{0,3}$/)||l=="localhost",d=h?l:l.replace(/^www\./,""),v=self.location.protocol=="https:"?" Secure;":"",m=" SameSite="+(i.feat.samesite?i.feat.samesite:"Lax")+";"+v,typeof truste.eu.noticeLP.pcookie!="undefined"){if(document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/;domain="+(h?"":".")+d.replace(/^\./,"")+";"+m,!i.topLevelDomain){for(var i,a,c,l,d,h,m,f,v,b,p=0,r=d,g=r.split("."),u="_gd"+(new Date).getTime();p>t/4).toString(16)})},truste.util.getScriptElement=function(e,t,n){if(typeof e=="string"&&(e=new RegExp(e)),typeof n=="string"&&(n=new RegExp(n)),!(e instanceof RegExp))return null;if(typeof n!="undefined"&&!(n instanceof RegExp))return null;for(var s,i,o=self.document.getElementsByTagName("script"),a=o.length;a-- >0&&(s=o[a]);)if(i=!n||n.test(s.src),(t||!s.id)&&e.test(s.src)&&i)return s;return null},truste.util.getUniqueID=function(){return"truste_"+Math.random()},truste.util.initParameterMap=function(e,t){if(typeof t=="object"&&t!==null||(t={}),!e||typeof e.src!="string")t._query=t._url="";else{if(n=t._url=e.src,n=(t._query=n.replace(/^[^;?#]*[;?#]/,"")).replace(/[#;?&]+/g,"&"),n)for(n=n.split("&"),s=n.length;s-- >0;){var n,s,o=n[s].split("="),i=o.shift();t[i]||(o.length?t[i]=decodeURIComponent(o.join("=")):t[i]="")}e.id=t.sid=t.sid||truste.util.getUniqueID()}return t},truste.eu.COOKIE_GDPR_PREF_NAME="notice_gdpr_prefs",truste.eu.COOKIE_SESSION="TAsessionID",truste.eu.SCRIPT_REGX=truste.eu.SCRIPT_REGX||/\.(truste|trustarc)\b.*\bnotice(\.0)?(\.exp)?(\.js)?\b.*\bdomain=/,truste.eu.JS_REGX=truste.eu.JS_REGX||(truste.eu.bindMap&&truste.eu.bindMap.domain?"domain="+truste.eu.bindMap.domain:0[0]),truste.eu.jsNode1=truste.eu.bindMap.currentScript||truste.util.getScriptElement(truste.eu.SCRIPT_REGX,!0,truste.eu.JS_REGX),truste.eu.noticeLP=truste.util.initParameterMap(truste.eu.jsNode1,truste.eu.noticeLP||{}),truste.eu.noticeLP.cookieName&&(truste.eu.COOKIE_GDPR_PREF_NAME=truste.eu.noticeLP.cookieName+"_gdpr",truste.eu.COOKIE_SESSION=truste.eu.noticeLP.cookieName+"_session"),truste.util.readCookieSimple=function(e){var t=new RegExp("\\s*"+e.replace(".","\\.")+"\\s*=\\s*([^;]*)").exec(self.document.cookie);return t&&t.length>1?t[1]:null};function a(){var e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return!!e&&parseInt(e[2],10)}function c(){const t=a(),n="A2jrs6mPMu+fmN4RJe0bL8jbkRajgSEmu3lcc5szuxfNad4efznBgr/Rfw+P5Tu3M4u5eN4czAOTP6SSmdjbhg0AAACZeyJvcmlnaW4iOiJodHRwczovL2NvbnNlbnQudHJ1c3RhcmMuY29tOjQ0MyIsImZlYXR1cmUiOiJEaXNhYmxlVGhpcmRQYXJ0eVN0b3JhZ2VQYXJ0aXRpb25pbmciLCJleHBpcnkiOjE3MjU0MDc5OTksImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9",s="A6ZlvBxsryW9hXgcaPJ9kpW0x7/fHa3bkV+ey55MdskMuoTzOWSI8Au9e4ZxhzDxsAv6uc//J3N1evSQQWPjZAAAAACaeyJvcmlnaW4iOiJodHRwczovL2NvbnNlbnQudHJ1c3RhcmMuY29tOjQ0MyIsImZlYXR1cmUiOiJEaXNhYmxlVGhpcmRQYXJ0eVN0b3JhZ2VQYXJ0aXRpb25pbmcyIiwiZXhwaXJ5IjoxNzQyMzQyMzk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ==";if(t!==!1){console.log("Adding the trial token from JS version: "+t);var e=document.createElement("meta");e.httpEquiv="origin-trial",e.content=a()<=126?n:s,document.head.appendChild(e),console.log("Added the trial token from JS")}}c(),t.styles=Object.create(null),t.externalcss=typeof $temp_externalcss!="undefined"&&$temp_externalcss,t.styles.closebtnlink=typeof $temp_closebtnlink_style!="undefined"&&$temp_closebtnlink_style,t.styles.closebtn=typeof $temp_closebtn_style!="undefined"&&$temp_closebtn_style,t.styles.box_overlay=typeof $temp_box_overlay!="undefined"&&$temp_box_overlay,t.styles.box_overlay_border=typeof $temp_box_overlay_border!="undefined"&&$temp_box_overlay_border,t.styles.overlay=typeof $temp_overlay!="undefined"&&$temp_overlay,t.styles.inner_iframe=typeof $temp_inner_iframe!="undefined"&&$temp_inner_iframe,t.styles.outerdiv=typeof $temp_style_outerdiv!="undefined"&&$temp_style_outerdiv,t.outerdiv=typeof $temp_outerdiv!="undefined",t.feat.target=typeof $temp_target!="undefined"&&$temp_target,t.feat.ccpadefault=typeof $temp_ccpadefault!="undefined"&&$temp_ccpadefault,t.feat.noscrolltop=typeof $temp_noscrolltop!="undefined"&&$temp_noscrolltop,t.feat.samesite=typeof $temp_truste_samesite!="undefined"&&$temp_truste_samesite,s=truste.util.readCookieSimple(truste.eu.COOKIE_SESSION),s==null&&(userType=truste.util.readCookieSimple(truste.eu.COOKIE_GDPR_PREF_NAME)?"EXISTING":"NEW",s=truste.util.getRandomUUID()+"|"+userType,o=new Date,o.setTime(o.getTime()+30*6e4),truste.util.createCookie(truste.eu.COOKIE_SESSION,s,o.toGMTString(),!1)),i=s.split(/[|,]/),truste.eu.session=i[0],truste.eu.userType=i[1],truste.eu.newReporting=truste.eu.bindMap.apiDefaults.indexOf("newReporting")!==-1,truste.util.sendAnalytics=function(t,n){var s="action="+t+"&domain="+truste.eu.bindMap.domain+"&implied="+(truste.eu.bindMap.behavior==="implied"?"1":"0")+"&session="+truste.eu.session.replaceAll("-","")+"&new="+(truste.eu.userType==="NEW"?"1":"0")+"&referer="+window.origin;n&&(s+="&categories="+n),fetch(truste.eu.bindMap.cdnURL+"analytics?"+s,{referrerPolicy:"origin-when-cross-origin"}).catch(function(){})},truste.eu.newReporting?truste.util.sendAnalytics(0):new Image(1,1).src="https://consent.trustarc.com/log".replace("http:","https:")+"?domain=unir.net&country=es&state=&behavior=implied&session="+truste.eu.session+"&userType="+truste.eu.userType+"&c="+((1+Math.random())*65536|0).toString(16).substring(1)+"&referer="+window.origin+"&language=es",function(e){var t,n,s,i,o=function(t){if(e.feat.iab)return;var o,s=self.document,n=s.createElement("script");n.setAttribute("async","async"),n.setAttribute("type","text/javascript"),n.setAttribute("crossorigin",""),n.setAttribute("importance","high"),o=document.querySelector("[nonce]"),o&&n.setAttribute("nonce",o.nonce||o.getAttribute("nonce")),n.src=t,(s.getElementById(e.containerId)||s.getElementsByTagName("body")[0]||s.getElementsByTagName("head")[0]).appendChild(n),e.feat.iab=!0},a=function(e,t,n,s){if(e()){t();return}var i=function(){e()&&(o=clearInterval(o),t())},o=setInterval(i,n);i(),setTimeout(function(){clearInterval(o)},s)};if(e.isIabLayout){for(n=!1,s=document.head.getElementsByTagName("script"),t=0;te.popTime&&(truste.util.createCookie(truste.eu.COOKIE_REPOP,"","Thu, 01 Jan 1970 00:00:01 GMT",!0),truste.util.createCookie(truste.eu.COOKIE_REPOP,e.popTime,n,!0))},truste.cd.addCrossDomainParams=function(e){return e&&!e.includes("/consent/log")?"":`&u=${encodeURIComponent(n)}&sid=${encodeURIComponent(s)}&mac=${encodeURIComponent(t)}`},truste.eu.COOKIE_CONSENT_SYNC="consent_sync",truste.cd.syncConsent=async function(){if(truste.util.readCookieSimple(truste.eu.COOKIE_CONSENT_SYNC)){truste.cd.markConsentRetrieved();return}if(await new Promise(e=>{truste.util.deferCallUntil(()=>{truste.cma||truste.cd.markConsentRetrieved(),e()},()=>truste.cma,50,1e4)}),!truste.cma)return;let t=await truste.cd.getConsent();if(!t||!t.categories||!t.expiry||isNaN(new Date(t.expiry).getTime())){truste.cd.markConsentRetrieved();return}let n=e.feat.replaceDelimiter?t.categories.replace(/,/g,"|"):t.categories,s=new Date(t.expiry).toGMTString();truste.cd.handleRepopLogic(t,s);const o=function(){let e=new Date;e.setTime(e.getTime()+24*60*60*1e3),truste.util.createCookie(truste.eu.COOKIE_CONSENT_SYNC,"true",e.toUTCString(),!1)};let i=truste.util.readCookieSimple(truste.eu.COOKIE_GDPR_PREF_NAME),a=i?i.split(":")[0]:null;if(a===n){o(),truste.cd.markConsentRetrieved();return}truste.util.createCookie(truste.eu.COOKIE_GDPR_PREF_NAME,n,s,!0),truste.util.createCookie(truste.eu.COOKIE_PREF_NAME,truste.util.getLowestConsent(n),s,!0),truste.cma.callApi("syncConsentDecision","trustarc.com",{action:"updateDecision",value:n,expiry:s,timestamp:Date.now()},null),e.prefCookie=n,truste.util.dropOptoutDomains(n),o(),truste.cd.markConsentRetrieved()},(async()=>{await truste.cd.syncConsent()})()}else s=function(){if(!window.frames.trustarc_notice)if(document.body){var n=document.body,t=document.createElement("iframe");t.classList.add("ta-display-none"),t.name="trustarc_notice",t.id="trustarcNoticeFrame",t.title="Trustarc Cross-Domain Consent Frame",t.src=e.cdnURL+"get?name=crossdomain.html&domain="+e.domain,n.appendChild(t)}else setTimeout(s,5)},s()}(truste.eu.bindMap),t.params=Object.create(null),t.bnFlags=Object.create(null),truste.bn.addScriptElem(t.noticeJsURL,function(){var o=function(){if(s&&truste.eu.flags&&truste.eu.flags.init){s=clearInterval(s),e.script=truste.eu.bindMap.currentScript||truste.util.getScriptElement(/\/\/([^.]+\.)+(intranet\.)?(truste|trustarc)(-labs|-svc)?\.(com|net|eu)(:\n+)?\/[^?#;]*(notice|banner).*?(js=bb|nj)/,!0),truste.util.initParameterMap(e.script,t.params);var n=function(){var e=document.getElementById(t.params.c||"teconsent");e&&e.style.display==="none"&&(e.style.display="")};if(t.params.b){const e=t.params.b.split(",");for(const o of e){const[n,s]=o.split("-");if(s){if(n===t.country&&s===t.state){t.feat.linkbanner=!0;break}}else if(n===t.country){t.feat.linkbanner=!0;break}}}t.feat.ccpaApplies||l()||t.feat.linkbanner?truste.bn.bannerMain():t.bnFlags.consentUnresolved?truste.bn.checkConsentUnresolved(truste.bn.bannerMain,n):n()}},s=setInterval(o,7);setTimeout(function(){clearInterval(s)},1e4)},t.containerId);function l(){let e=truste.eu.bindMap,t=!e.feat.topwindow||window==top;var n=/ip(hone|od|ad)|iOS/i.test(navigator.userAgent||navigator.vendor||window.opera);return(e.ios!=1||!n)&&t&&truste.bn.checkPreference()}})(),LanguageSelector=function(){var s,o,i,e={languageDropdown:"trustarc-lang-select",languageContainer:"trustarc-lang-container",languageSelectorLabel:"trustarc-lang-selector-label"},t=function(e,t){var o,s=truste.eu.bindMap;s.locale=t,truste.util.createCookie(truste.eu.COOKIE_NOTICE_LANGUAGE,t,365),o=s.cdnURL+"bannerconfig?domain="+encodeURIComponent(e)+"&language="+encodeURIComponent(t)+"&country="+encodeURIComponent(s.country),fetch(o).then(function(e){return e.json()}).then(function(e){n(e)}).catch(function(e){console.error("TrustArc Translation Error:",e)})},n=function(e){if(!e)return;if(e.bannerHtml){var n,s,o,i,a,r,f=new DOMParser,t=f.parseFromString(e.bannerHtml,"text/html"),m=t.getElementById("truste-consent-text"),c=t.getElementById("truste-consent-button"),h=t.getElementById("truste-consent-required"),u=t.getElementById("truste-show-consent"),d=t.getElementById("truste-powered-by"),l=t.getElementById("trustarc-lang-selector-label");m&&(n=document.getElementById("truste-consent-text"),n&&(n.innerHTML=m.innerHTML)),c&&(r=document.querySelector("#truste-consent-button span"),r&&(r.textContent=c.textContent.trim())),h&&(a=document.querySelector("#truste-consent-required span"),a&&(a.textContent=h.textContent.trim())),u&&(i=document.querySelector("#truste-show-consent span"),i&&(i.textContent=u.textContent.trim())),l&&(o=document.getElementById("trustarc-lang-selector-label"),o&&(o.innerHTML=l.innerHTML)),d&&(s=document.getElementById("truste-powered-by"),s&&(s.innerHTML=d.innerHTML))}};function a(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML}return s=function(t,n){var o,i,a=truste.eu.bindMap,s={};try{s=JSON.parse(n||"{}")}catch(e){return console.error("Error parsing languages:",e),""}return o=Object.keys(s),o.length===0?"":(i=o.map(function(e){var t=s[e],n=e===a.locale?"selected":"";return'"}).join(""),'")},o=function(o){var r,c,i=truste.eu.bindMap,a=truste.util.readCookie(truste.eu.COOKIE_NOTICE_LANGUAGE,!0);a&&(i.locale=a),r=i.locale,c=i.cdnURL+"bannerconfig?domain="+encodeURIComponent(o)+"&language="+encodeURIComponent(r)+"&country="+encodeURIComponent(i.country),fetch(c).then(function(e){return e.json()}).then(function(i){var a,r,l=i&&i.languageSelectorLabel||"",d=i&&i.languages||"",c=s(l,d);if(!c)return;a=document.getElementById("trustarc-lang-container"),a&&(a.insertAdjacentHTML("afterbegin",c),function t(){var s,o=document.getElementById("truste-consent-text"),n=document.getElementById(e.languageSelectorLabel);if(!o||!n)return setTimeout(t,50);s=window.getComputedStyle(o),n.style.fontSize=s.fontSize,n.style.color=s.color,n.style.fontFamily=s.fontFamily}(),r=document.getElementById(e.languageDropdown),r&&r.addEventListener("change",function(e){t(o,e.target.value)}),n(i))}).catch(function(e){console.error("TrustArc Language Init Error:",e)})},i=function(n){var o,s=truste.util.readCookie(truste.eu.COOKIE_NOTICE_LANGUAGE,!0);if(!s)return;o=document.getElementById(e.languageDropdown),o&&(o.value=s),t(n,s)},{init:o,fetchLanguage:t,applyNoticeLanguageFromCookie:i,applyTranslations:n}}(),truste.bn.isConsentTrack=!0,truste.bn.round=function(e,t){return Number(Math.round(e+"e"+t)+"e-"+t)},truste.bn.getDefaultStyleProperty=function(e,t){var s,n=document.createElement(t);return document.body.appendChild(n),s=window.getComputedStyle(n,null)[e],n.parentNode.removeChild(n),s},truste.bn.getDisplayProperty=function(e){var t=window.getComputedStyle(e,null).display;return t=="none"?truste.bn.getDefaultStyleProperty("display",e.nodeName):t},truste.bn.applyDisplayClass=function(e,t,n="ta"){const o=`${n}-display-${t}`,i=`${n}-display-style`,a=!!e.id,s=a?`.${o}#${e.id}`:null;try{let r=document.getElementById(i);if(!r){r=document.createElement("style"),r.id=i;const e=document.querySelector("[nonce]");e&&r.setAttribute("nonce",e.nonce||e.getAttribute("nonce")),r.textContent="/* */",document.head.appendChild(r)}const c=r.sheet;if(a&&s){const e=Array.from(c.cssRules).some(e=>e.selectorText===s);e||c.insertRule(`${s} { display: ${t}; }`,c.cssRules.length)}const l=`${n}-display-`;e.classList.forEach(t=>{t.startsWith(l)&&e.classList.remove(t)}),e.classList.add(o)}catch(n){console.warn(`Failed to insert rule for ${s}`,n),e&&(e.style.display=t)}},truste.bn.show=function(e){if(e){e.style.display==="none"&&e.style.removeProperty("display"),e.classList.remove("ta-display-hide"),e.classList.remove("ta-hide"),e.classList.add("ta-show");const t=truste.bn.getDisplayProperty(e);truste.bn.applyDisplayClass(e,t)}},truste.bn.hide=function(e){e&&(e.classList.remove("ta-show"),e.classList.add("ta-hide"),setTimeout(()=>{e.classList.add("ta-display-hide")},300))},truste.bn.isVisible=function(e){var t=window.getComputedStyle(e);return t.display!=="none"&&t.opacity>0&&t.visibility!=="hidden"},truste.bn.removeEvent=function(e,t,n){e&&typeof t=="string"&&n instanceof Function&&(e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n))},truste.bn.addEvent=function(e,t,n){e&&typeof t=="string"&&n instanceof Function&&e.addEventListener&&e.addEventListener(t,n,!1)},truste.bn.bannerMain=function(){var t,n,s,o,i,e=truste.eu.bindMap;e.bannerMsgURL=e.iconBaseUrl+"bannermsg?",n=e.params,s=n.c||"teconsent",t=n.bb||"consent_blackbar",document.getElementById(t)?a(n,s,t):typeof MutationObserver!="undefined"?(o=new MutationObserver(function(){document.getElementById(t)&&(o.disconnect(),a(n,s,t))}),o.observe(document.body||document.getElementsByTagName("body")[0]||document.documentElement,{attributes:!1,childList:!0,characterData:!1,subtree:!0}),setTimeout(function(){o.disconnect()},6e4)):(i=setInterval(function(){document.getElementById(t)&&(i=clearInterval(i),a(n,s,t))},150),setTimeout(function(){clearInterval(i)},1e4));function a(t,n,s){var o,c,h,f,g,w,O,d=5,d=d>0?d:3,v=truste.eu.bindMap,l=function(t){for(var s=[],n=0;n").replace("</i>","").replace("<b>","").replace("</b>",""),e=` `+e,t.responsive==="false"&&(e=e.replace(/(class=["'].*?)[\s]?truste-responsive(.*?["'])/g,"$1$2"));var n=document.querySelector("[nonce]");if(n){const t=n.nonce||n.getAttribute("nonce");e=e.replace(/]*nonce=)/gi,`